package com.tchhy.provider.data.healthy.response

/**
 * Created by admin on 2019-12-19
 */
data class MarketGoodsRes(
    var pageNum: Int,
    var pageSize: Int,
    var totalNum: Int,
    var list: List<Data>
) {
    data class Data(
        var commodityId: String,
        var commodityMallParameterDTO: CommodityMallParameterDTO,
        var freight: Long,
        var headImgUrl: HeadImgUrl,
        var mallCrossedPrice: Float,
        var mallPrice: Float,
        var materialsId: Long,
        var price: Long,
        var salesName: String,
        var salesVolume: Long,
        var status: Boolean,
        var subtitle: String,
        var videoUrl: VideoUrl,
        var bannerUrl: List<BannerUrl>,
        var detailUrl: List<DetailUrl>
    ) {
        data class CommodityMallParameterDTO(
            var barCode: Int,
            var dosageCodeName: String,
            var dosageFormat: String,
            var indication: String,
            var manufacturer: String,
            var name: String,
            var packageFormat: String,
            var precautions: String,
            var pzwh: String,
            var tabooCrowd: String,
            var typeCodeName: String,
            var usageCodeName: String
        )

        data class HeadImgUrl(
            var length: Long,
            var name: String,
            var url: String
        )

        data class VideoUrl(
            var length: Long,
            var name: String,
            var url: String
        )

        data class BannerUrl(
            var length: Long,
            var name: String,
            var url: String
        )

        data class DetailUrl(
            var length: Long,
            var name: String,
            var url: String
        )
    }
}